﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MpSoft.Library.CommonLibrary
{
    public class Template
    {
        public static string GetTemplate(string Path, string DefaultValue)
        {
            try
            {
                return System.IO.File.ReadAllText(Path);
            }
            catch (Exception)
            {
                return DefaultValue;
            }
        }
    }
}
